Confine -mf16c to a single source file
authorMatthias Clasen <mclasen@redhat.com>
Wed, 5 May 2021 22:58:23 +0000 (18:58 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 5 May 2021 22:58:23 +0000 (18:58 -0400)
commit930ff499ee25d8606c6ca0b00084dea3ac0d1fd9
treebaa1d747333783f8d589fbb7e51b50dd08b34832
parent399fb766522095136132c5ced7d19ae654ce97e6
Confine -mf16c to a single source file

We can't use this flag for any code that may get run
outside the __builtin_cpu_supports() check, and meson
doesn't allow per-file cflags. So we have to split this
code off into its own static library.
gsk/meson.build
gsk/ngl/fp16.c
gsk/ngl/fp16i.c [new file with mode: 0644]
gsk/ngl/fp16private.h
meson.build